Fixes small search history bug where it wouldn't work when backing to empty forms