It can happen - the filter gasket is applied dry at the factory and will stick to the filter mating surface. Its a known issue to watch out for.
When you put a new filter on, be sure to apply a film of oil to the gasket - and of course, remove any residue or remnants of the old gasket it any stuck on there.