Fixed pagination autofetch bug.