fixed type mismatch for reference fields, it's expected to have list of instance ids  (multiple support)