We can't replace with IN the condition major = 'History' OR major <> 'Physics', since both operators need to be =.

Make sure to pick major, followed by <>, and finally 'Physics'.