am cadd5cd6: am c895f2b8: am 25adfd23: am 8360bace: am d20bfedb: Fixed the scope of database query for CTS testWhenByDayQuery

* commit 'cadd5cd6680b4b937ca5aa9cc80ce4da7e5a141f':
  Fixed the scope of database query for CTS testWhenByDayQuery