Fix another trajectory bug.