[ticket/9341] Assert that page doesnt contain next or prev page posts

PHPBB3-9341