Fixed 'datetime' check (<time datetime>, etc.).