BUGZ-3887
Fix for BUGZ-3887 - MaxWallTime and MaxCPUTime not propagated to infosys
The function to prioritize values was calculating the passed number of prioritized values in the wrong way.