Fixed optimiser delete call