Fix broken case that no statements found