Added wildcard handling for useInDatabases entries