Fix type hints not applied when joining all fields