FAIMS-468 - add index to legacy sqlite and fix the table query to include valid table only
Merge branch 'master' of github.com:IntersectAustralia/faims-android