Fix for paginator bug on leases' page. Closes #57