fixed issue where daily was adding entries for medication that were 0 quantity; db update