Fix the OPT RR Version get code and simplify DO get/set
Merge pull request #132 from FiloSottile/fix_OPT

Fix the OPT RR Version get code and simplify DO get/set