Criticism prompts a U-turn in under 24 hours.