NERD UPDATE: Added check for empty  array in Better Pagination sanitizer...

... function