Changing check from `unless head?` to `if post?` fixes a bug with Heroku.