Fixed bug with 'previous' and 'next' buttons for session.