fixed: isempty advanced search on date element was producing an sql error