BS-9193: don't put "condition" in refactor message when t is a document
that is refactored