Properly compare ATL contexts.