Fix an issue in the #intersperse function.