@dustint-rh Looking at it I feel like there is controller and view layer logic creeping into the service that you could simplify down to a function that will truncate the histories to a certain number for you, a function that you can pass in a subset to and it will tell you yes/no if your set is truncated and a method to fetch the histories. Everything else, whether a row is hidden, or how much to truncate the history is specific to that one particular controller that wants to show 3 of the latest history items.