fixed output filter in mod_compare