Fix maxFields to error on field after max

fixes #65
closes #66