Changed to also clear the location list when all errors are fixed.