Correctted a bug in is_bad()