Fixed a problem where jobs for multiple nodes would get
stuck in a running state. TRQ-1465