Fixed regression that prevented maxRuntime setting to work.

Signed-off-by: Stefan Marr <git@stefan-marr.de>