Don't show databases which are in offline mode

The purpose of this change is to filter out databases which are in OFFLINE mode.
Either way you get an error when trying to connect to such databases.