Fixed empty history crash, cooldown of non-existant command crash