Attributes with nil values should not be considered "missing".

See #858.