Mother cleared after 5-year-old's positive cocaine test was ruled a mistake