Ensure the selector implementation can be instrumented before attempting instrumentation

- Fixes #1908