Year is 2016 ls, The filter without the spring on top. I just purchased the vehicle and did the first oil change. The filter that was in it was right and wouldn't spin easily. The fram filter i replaced it with felt very loose and not a great fit. I just wanted to make sure the filter wasn't defective. How did one tell which filter they need. I've seen allot of threads on the different types but no way to tell which one is needed.
The most definitive way is to examine the housing assembly. Housing castings include either “HENGST” or “UFI” embossed onto the side (zoom in on top side-by-side of photo). You can also look/feel for the valve mechanism (or lack thereof) within the housing assembly (see photo for what to look/feel for). Caps are either brown and include ribs around the perimeter (UFI), or black without ribs (HENGST). It’s possible that the caps were swapped in a (misguided) attempt by the previous owner to convert from one type filter to the other. The caps themselves should’ve been “fool-proofed” to prevent that, but their differences are merely aesthetic. Ensure that the filter (and cap, to avoid future confusion) match what is in/on the housing.