Fixed HTML search for 503 to use needle string length.