Fix for type-type|pattern2 such that the pattern passed to type-type|pattern at the end always really is a string