fix array_search, needs to be !== false