Fixes #1050 if edit a post with admin that post changed to unapproved

#1050