Made sure 404 Not Found header is sent when a page is not found