Fix bundle deletion for MySQL