Fixing the comparison error.