change query for proposal ratings: add contestphase parameter, thus also fixing the ratings in the CSV export
fix rating complete criteria on judge ratings