Fix repeating field name attribute replacement if meta key or prefix contained an integer