Corrected deprecated warning silencer

Just a minor correction for the deprecated warning silencer