Validation.sanitizeInput() now checks input != null before sanitizing