Fix #934: Error in motion import with bad csv file.