fixed paging bug on orders page