Six months in jail thanks to drug test error