When anti-doping rules prioritize safety over cheating