Minor fixes in the collisions sample