updated mapping to search elements to include only node elements and not names from the relationship nodes