Sanity check in setAllowReordering for null adapter