Fixing bug in inactive subnet processing