Fixing backwards logic in version helper