fix payment report multiple selection vs. mysql, RT#29830