db_unset has incorrect sql in the delete query..

"DELETE INTO" should be "DELETE FROM" on lines 1232 & 1235