Update service.py
Merge pull request #30 from mglinski/develop

Fix time comparison issues