Merge pull request #34 from flintwork/bug/32

Always coerce max_complexity to an integer