fix operator for timestamp check