Fixed pagination issue (bug 852441)