Strip format strings before doing same check