Bad character evidence is evidence of, or a disposition towards misconduct; other than evidence which has to do with the alleged facts of the offense with which the defendant is charged or is evidence of misconduct in connection with the investigation or prosecution of that offence.