Console: fix non-prefix handling.