Fixed some bugs in sitesettings.php, including 1 with the UPDATE query and one where a users setting was showing up as a site setting