Modified osae.sql to fix Saturday schedule bug

The existing logic increments the dCURDAYOFWEEK but if the day is Saturday it increments to day 8 which is invalid.  Modified logic to wrap around to day 1
Update osae.sql
Merge pull request #29 from Automate1/patch-3

Modified osae.sql to fix Saturday schedule bug