fix server error on deleting nonexistent alert