[PrivateMessage]: fixed a bug in pagination