Removed profile code from filters. Only the toplevel IM should have that.