Changed datas to return empty list instead of null