don't break when deleting a post without an image