PROV-845 Fixed handling of List attribute lookup fields in advanced search forms

For more info see pr/88
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'