Fixed a bug when defining multiple databases through properties