Fixed small bug in trimming list to correct size