Fixing a syntax error
Limiting the recent searches history to the current list, fixes #417