Changed to use HConsistencyLevel

I finally found the utility class that does the conversion, so I changed
it to use HConsistencyLevel to keep it more consistent.
Merge pull request #658 from woolfel/master

Changed to use HConsistencyLevel