Small fix to L1Search to fix security bug.