Fix for Sentry bug