Fieldcontain: Changed selector to take hidden form elements into account

Fixes gh-6701