Update Database.php for Translate/Adapter

I've updated the query that retrieves translations from database — now it's possible to get translations with consistency.