FIX: Node bad_samples was completely broken