Usergrid 2580

Fixes bug with incorrect page sizing.  Also explicitly throws an exception in the future if this were to occur with logging.

USERGRID-2580