handle null nodes (no permission) in arraySearch