Fix saving of new search engines when no search engines are specified - thanks Jorin for reporting

Signed-off-by: emanuele <emanuele45@gmail.com>