WEB-8397 Incorrect "element is not allowed here" inspection