Bugfix

fixes #7
Fixes the problem that draft post sometime do not have a post_name