fix(Plugin/Timers) Fix case when getting duration to the next fire can cause an unlimited loop