Fixes #16 - additional None check when turning a list into a list of list