Detecting when UNNEST after a sequence of NESTs and UNNESTs can always be reversed with a single NEST | IEEE Conference Publication | IEEE Xplore