Fixed prev_page() bug