Corretto creazione query delete event

Signed-off-by: Simone <simone.decristofaro@sistemaits.com>