Typo fix

Made it so if an empty array or only one element, will return, instead of an
empty array and an array with 0 elements (subtley different).