Fix swapping of sample count and sample size arguments.