Delete prepared query - More or less tested