Manufacture of filter elements