Fixing handling of recurring tasks (finish task)