Minor changes to make the dagger pipeline to work. Remove the assertion that trajectories should have length greater than 2.