Fixed relational name checking.