Fixed incorrect logic in testing for support for the old style API calls.