returning empty lists instead of nulls when there are no records in the DB