Fix logic in Boolean test.
Add option for adding an activity when adding a route.