Tables: Fixed pagination wrapping (fixes #5419)
Merge pull request #5421 from pjackson28/fixpaginationwrap

Tables: Fixed pagination wrapping (fixes #5419)