Improve LM type check
Improve LM type check

Ensure that value isn't null before passing it into trim

thecoolestguy/ilios,Trott/ilios,ilios/ilios,stopfstedt/ilios,stopfstedt/ilios,Trott/ilios,dartajax/ilios,dartajax/ilios,ilios/ilios,thecoolestguy/ilios