Fixed a bug in example for second()