Do some additional sanity checking for the join() operator.