Fix error with %% in DELETE statement