fixed issue with doing entire database and tested on other dbs
fixed issue with doing entire database and tested on other dbs

smacewan101/School-Me,imamathgeek/habitat,smacewan101/School-Me,imamathgeek/habitat,lewsid/dinkly,lewsid/dinkly,alz-sinton/dinkly-test,smacewan101/School-Me,smacewan101/scotch_reviewer,alz-sinton/dinkly-test,smacewan101/scotch_reviewer