Fixed problem with containsData, it was looking at the whole node instead of performing the actual comparison