Fixed command line incremental search

closes #1034