Default err.status to 500 when less than 400.