Fixed --pagination issue.