Fixed bug where searching conflicted with archiving.