Fix sql which caused unintended folder deletes
Fix sql which caused unintended folder deletes

Previous sql caused folders with similar names to be deleted
regardless of case id.

nswinea/cliniccases,nswinea/cliniccases,nswinea/cliniccases