Filtering shouldn’t show Groups - no way to select multiple lights of the same type inside objects - think if you have thousands of them.
Also inputting name in search box should automatically select corresponding objects automatically.