Fix issue with not receiving all databases when calling to GetApprovedDatabases if "*" is used