Fix for selecting non input elements.