Bug Fix

Bug fix for the fallback to Sandbox check when application is in Production.