Fix regression causing complete_objects to skip Z moves after first object is complete. Includes regression test. #1582 #1541