Fix post view permalink requirement

Avoid _format to be caught in the permalink variable