Fixes issue with spec where rest parameter should be last