Fix bug assigning value from every_x_day input
Merge pull request #208 from iangreenleaf/every_x_day_bug

Fix bug assigning value from every_x_day input