Fix a bug selecting only one field in column that does not exist in
the referenced table (following the constraint)