Strip mods before filtering length