Adding objectName to search criteria