JMA - fixed infinite loop in parentSuperselector()