Fix missed join detection for one-to-one relationship joins.