404 instead of 500 on bad export ids (Case:66552)