Max fix

Compare operator was the wrong way around for Vectors.