fix issue with "first_child" redirect