Don't crash if params is an array