It's not the filter. You probably didn't fit it properly or as mentioned, the breather pipes got trapped when you re-fitted the tank causing your problem.When changing back to the old filter you (without realising) solved the problem.Re-fit the new filter ensuring it's seated properly and is in the correct position. The ensure that when you refit the petrol tank, the breather pipes don't get trapped.Ride the bike again then and see what happens