CRM-12753, advanced search, change log fixes