Adding firstResult, maxResult when get list