Fixed sanitization function to allow customizer to save properly.