Paid off my house/mortgage and sold the house. My score dropped?

I sold property that had a mortgage. My score went DOWN? It should have gone up?