Ensure that delays are ints, should fix #4