fix the filter function to POST values, the old one would make nested array empty. Also apply to GET,COOKIE,SESSION
Merge pull request #40 from Arborweave/master

fix the filter function to POST values