We want to handle array of length 1 as well.