make booleans booleans and fix filters

While updating the module in our environment, I noticed that it was trying to set aggregates to true every puppet run, as well as throwing errors when trying to use the filter define.