Use === instead of ==

Additionally, use is_null() to check for null values.