Fixed an error in the joins test.