Validation of tags existence in insert and update operations moved to the DAO class