Dev: Fixed quexf pagination

DEV: page break did not occur when end of
DEV: page was reached with question text
DEV: follow up to PR 117 and issue #7785