MDL-39701 prevent string filtering before finishing 2.5 upgrade