test if lsar is nil before attempting split

fixes #3332
Merge pull request #3335 from rolandwalker/lsar_nil_test

test if lsar is nil before attempting split