Small database fix