Closed #198 by only fetch scheduled scans of active applications in Dao class