Fix datastore list error after adding the reg ex feature