Added the case of lists with a single item