Added logic to sanitize multi-select correctly