Deprecated switch function to if/elsif.  Added a section in the GETNEXT portion to properly handle requests for OIDs without the trailing .0