Only use nested_attribute if param key is present