delete document if tags is []