Fixed #131 - Added correct PostgreSQL queries
Merge pull request #132 from MrC0mmand/master

Fixed #131 - Added correct PostgreSQL queries