Added Get Orphaned Scout function with SQL statment