Fix delete method (H2 issue in buildhive env?).