Change long to int64 for paging methods. Refs #8230.