Fix a join error