Fixed order of joins in location_children query