Made sure applyDelta is called in all cases