Fixes #538 SQL error when creating new forum