Fix a bug when editing a cms category link