Corrected detailled search for date attributes in arrays (closes #3810)