Raveen,

Oh, sorry I misread the code in your original post. You are right that it does only do this for versions prior to v20.