Fix checks that disallow 0 for idleTimeout and maxLifeTime.