Patches for check_procs reports incorrect number of processes [sf#1118832] [#463]