the problem is the same as this which is still unsolved:http://www.allroundautomations.com/threads/ubbthreads.php?ubb=showflat&Number=37093&Searchpage=2&Main=9820&Words=union+beautifier&Search=true#Post37093
bisides a complex nested blocks will hang up the application too
like this:
select *...