Added deprecation warning for invalid selectors and skipping assertions.