Middle element array returns correct value when there's only a single value.