Fixed previous page button

Fixed issue where if the user configuration had "last" selected,
clicking previous page would crash.