If a dynamic attribute name evaluates to null, remove it from the set