Accomodate instanceof relation when matching symbols