Fix cylc.rundb next problem