Fixed bad conditional '==' instead of '='