FIX: restore category when opening draft
Merge pull request #1929 from verg/fix_category_in_drafts

FIX: restore category when opening draft