modified foads operator== to simplify a little.