LMS-11179 Fix Assets with Split

@dmitchell @cpennington Please review.
would an `endswith` query be faster and clearer in meaning?