Updated previous_page conditions to include beta