SERVER-13802: fix insert validation with timestamps
(cherry picked from commit 3061ab54eb2cc642a279becfca0b93f5e17db117)