Fix nullpointerexception when no there was no results
Problem with mapping types in adapter