To add only those tags that are in the database.