LabVIEWVersion__ogb.vi which looks to me like it's part of OpenG Builder (although I'm using it via VIPM) fails to return the correct version for LabVIEW 8.6.1f1 (the f1 patch confuses it due to a literal string match on the Version property). The attached hacked version fixes the problem by testing each part of the version number separately and giving up after matching the minor version number.
See LAVA Thread: http://lavag.org/topic/14085-wrong-labview-version-returned-in-labviewversion-ogbvi/