Fixes #26

Not sure why the fixme was there. Is it because it's ugly?

Anyway, this fixes #26.

Tests I did manually:
 * Create new post and set to publish before saving, expect published post
 * Create new post and set to draft before saving, expect draft post
 * Update published post without changing published status, expect published post
 * Update published post and change to draft, expect draft post
 * Update draft post without changing draft status, expect draft post
 * Update draft post and change to published, expect published post

Side note: We need to make some tests!