Fixing accidental assignment

Should be equality, `==`