fixed bug in alert delivery type query