Fixed a silly mistake where I didn't clear the database if the POST param was left blank. But I certainly want to clear the DB when the post is blank, that means the user doesn't want to select any categories.'