In selectExtensions, use === instead of == where possible.