Posts with no revisions have error

We don't define a default value for `$struct`, so this causes an error when returning.