Fix getLongestDelta bug reported by lmctruck.
Fix getLongestDelta bug reported by lmctruck.

garyttierney/apollo,ryleykimmel/apollo,apollo-rsps/apollo,SJ19/apollo,LegendSky/apollo,ryleykimmel/apollo,garyttierney/apollo,Major-/apollo,LegendSky/apollo,SJ19/apollo,apollo-rsps/apollo,apollo-rsps/apollo,Major-/apollo