A petition for termination of parental rights filed before July 1, 2008, is governed by the law in effect at the time the petition was filed.