Prevent from setting a blank query title. Fixes #34
You can't have dashes in object properties. Fixes #42