Fix plugin using selector instead of elements it's been applied to.