Make sure variable is an array