checking for collection existence in url() on HabitModel