Typecore: work around special case that breaks frontend assumption