FIX compount persistence in CKAN

Solves the bug reported by Juan Elosua.