Bugfix: when changing a database entry after a search result