Fix connection report enabled when a database has no connection. Thanks to Guillaume Lelarge for the report.