fixed recursive call in convertToModel for querying a list of data. the UI issue should be fixed