Well, yes, but it had to be believable that Hermione had cast it, therefore we can assume that it would not have triggered the wards even if Quirrel had not cast it.
Well, yes, but it had to be believable that Hermione had cast it, therefore we can assume that it would not have triggered the wards even if Quirrel had not cast it.