Fix warnings and break up large comparison line in Footsteps