Fix issue where gerrit -1's were calculated incorrectly.