fixed csv ingestion to handle malformed rows
started work on advanced search