Corrected parameter order
Merge pull request #959 from Nevtep/properties-db

Corrected parameter order