Fixed unmention entities throwing exceptions "cannot cast to blah blah blah"