Removed else from the work page loop.