The command pipes lastN and firstN work now and the pipes accepts array as input.
Fixed a little bug of interval pipe.