Fix comparer to not give false format errors