test if lsar is nil before attempting split

fixes #3332