Edge cases for next button