This was working due to the method 'getTextFromContent' was sorting this out. However, I think that it's better to return an empty string directly if the subject is not visible, so Im gonna restore `isVisible` here.