Assuming that the nurses here, still idiotic as always, haven't figured out what spell was used on him or something like that, didn't check up on him. So with a quick flick of his wand, he erased the traces of Hermione's casted curse away.