Sample returns single item when asked for 1 element, or called sample without parameters
Filter register
Merge pull request #3 from youroff/master

sample filter returns single item when asked for 1 element, or called w/o params