fix off by 1 error on projects page 2 and higher