Testing IN operator in JOIN with non-existing field