Minor fixes to compare_velocity