Update CQP query after tag has been removed