Fix q= which displayed history of search

Thanks to filterfalse.
Merge branch 'fix-q-equal-command'

Fix q= which displayed history of search by mistake.

Thanks to filterfalse.