Database: fixed auto adding operator
Merge pull request #998 from hrach/database-operators

Database: fixed auto adding operator