[ArmRedmine] Fix a bug of detecting next page