LMS-11179 Fix Assets with Split

@dmitchell @cpennington Please review.
Could at least break out of the loop although it's probably short enough that who cares.