Fix comparsion mistake