Fix projects per quarter calcualation bug