Date trigger bug fixes.