Got rid of "assignment as a condition without parentheses" warnings

As discussed in https://github.com/itod/parsekit/issues/4