Fixed a very nasty bug in 503 handling