Filter should have been ok up to round 32K miles, as the designers always plan on people who cannot get the machine serviced at the correct intervals, but 40+ is pushing it even beyond what I would do.
You might want to look at the fuel pump as well, and while your there drain your fuel lines as I bet they have more crap in them then needs to be, don't forget the fuel lines feed the filter so if the filters clogged the lines are going to be as well.
Now if you bothered to read my previous posts regarding fuel filters and badly running bikes, you will have noticed me pimping MR. Funnel (£10 + P&P) will mean that you wont have to mess around with the fuel filters again, got it Mr. Funnel saves you time and money while your on the road.
Now this is the part where the armchair guys say you don't need one of them, trust me you do it seperates the fuel from any water and crap that will want to f*ck up your machine. All for the huge some of £10 for an external fuel filter, YOU have just found out that you need one and your away from home and are going to have fun sourcing another filter.
So that's just common sense to me, take precautions to stop this type of thing happening.