getDownloadableDaysWhereSql bug fiexed.