PROV-845 Hopefully fix the advanced search list attribute lookup issue for good

We never actually need the "{".$pa_options['element_id']."}" kind of
placeholders in the form elements when dealing with a search, so we
don’t bother inserting them.
Merge branch 'PROV-845' into develop