Fixed bug in OTCron introduced by commit 0cb43362

Iterator comparison failed because begin() and end()
were called on different maps...