Fixed bug in version reporting.