Fixed #13: middle phrase tags unicity check was performed before sanitization