Fix timeq bugs.