Fix for version check causing service to fail on startup