Replaced binary search with linear search in DataManagement