Fixed for if you have a complex expression with multiple brackets
Merge pull request #2 from rschmukler/double-bracket-fix

Fixed for if you have a complex expression with multiple brackets