fix check for gerrit changes