fix: allow before and after * filters to be specified anywhere in the co...

...ntroller file, not just at the bottom of the file.