fix for non existing menu for system database (when there are no other d...

...atabases)