Fix logic on determining date for APEL interface.
Merge pull request #7 from djw8605/fix-wlcgreporting

Fix logic on determining date for APEL interface.