Small time vs timestamp bug