Fixed a bug in commando.management.base where a generator expression was passed to reversed().