You need to check that the value “EXISTS” or “NOT EXISTS” for meta values that have never been set as well has empty string “” values for those that have been set but do not have a value. https://codex.wordpress.org/Class_Reference/WP_Query#Custom_Field_Parameters