94c0b8f918
Ensure that the first database is correctly added when more than one database is provided. Fixes problem I introduced in rev 1.17 on 2009-04-12, and noticed recently by Simon.