Fixed #216: Clean and order scheduled jobs