Fixed the bug reported by Nikolaj

Get previous question threw exceptions if it was called from the last
page