kalua: cron.taskplanner: fix check_if_every_Nth_minute() which was not working for a long time