test if the solution is not null before iterating over the user answers, fixes #172