Fixed difference() defect
Amended first(), last()