Fix problem with error message on 0 commands