Glad you got the filter off. Should it happen again, try wrapping a rubber band around the filter a couple of times ,this gives you a bit of extra grip which is sometimes all you need. Alternatively filter wrenches as mentioned earlier could be the answer