Add custom search handler `latestCases` #439
Replace search query constructor with ad hoc sql query #439
Remove useless code #439