Fix error pages not being displayed.

Fixes #80