Your change eliminates a check for "there is only one element"