Refactored DbWhitelister.clean_tag_node