Locked filters

I tend to permanently keep a UV filter on lenses, mostly for general protection rather than anything else, and the other day I added an ND filter to one. Both were Hoya filters, good quality, and they are designed to be stacked. However, when I came to remove the ND filter I found it impossible to remove just the ND filter as the two seemed locked together.