Add possibility to use keyfilters on bucket input, fixed some errors in map reduce swell.