Removed incorrect direction flag in AnalyseErrors