fixed for issue #99 notDisplayed failing on elements that do not exist