Now checks for all inputs in JOIN