Merge pull request #505 from PaulBender/fix-275

Fixes #275 PostgreSQL error when creating new user title