Fix uptime with a proper duration filter
Previously there were major rounding issues