Fixed issue with search condition serialization

Fixed issue with search condition serialization