bugzid 4086: added region id context check