Fixed parsing last time promise, and simplified it.