fix #1572 - refactor projects pagination