Performance enhancements for effective-rights tests.