These, I feel, should use the increase_delay_msg_count. Using str(delay) as the key.