Fixed bug in 'First' and 'Last'.