fix get_restriction return value in rdp fake engine