Fixed analysis error for incomplete data