fix bug with 'nested' combine issue as reported

demonstar found this issue and even it's solution!

http://www.peqtgc.com/phpBB3/viewtopic.php?p=72380#p72380