Counter-attacking has to ignore the sleep conditions, otherwise it won't work. It currently does not.