Fix to interceptor generation when using collections as resource parameters