Fix failover tests on old mongod

When putting older 2.4 and older mongod into maintenance mode repeatidly
it will get confused as it has a task counter that will go negative and
therefore refuse to go into recovery mode, or come backup if positive