Fixed bug where subrun would never end due to runwait where the subrun is part of the current run (i.e. it waits forever for itself to end).