BAC-282: fix checking the title