Fixed incorrect default for failOnTypeErrors