Add regression test highlighting issue #299
Fix incorrect combineMax implementation (fixes #299)
Merge pull request #425 from sharwell/fix-299

Fix 299