Fixing issue where grabbing pagination details for version history was erroring (pure bad code)