Fixing database helper issues.