Properly detect if the workaround is necessary.