Fix extra parens bug

This would always return the 2nd item as the max. I have not tested the consequences of fixing this bug, just an fyi.