Fixed the isPreAnalysed bug