Bug fix in isSignificant