Sec. 7. In making any determination of good cause under this article, the court shall consider the rights of the defendant, the interests of the child, the relationship of the defendant to the child, the character and duration of the alleged offense, any court finding related to the availability of the child to testify, the age, maturity, and emotional stability of the child, the time elapsed since the alleged offense, and any other relevant factors.