Wrong entity parameter captured from list of resource method parameters.