Flaws found in Qld child safety department