Fixed problem with <= in pagination code.