* removed some dead code and fixed citations when a search request is made with sections selected * fix black formatting issue