Fix Comparing Identical Expressions warning