add attributeName to the attributeToAdd functions in objectFilter