After upgrading to 0.63.3 I started getting sql errors in log file

I have some SQL Sensors coded. This all worked fine in 0.63.2. Downgraded from 0.63.3 to 0.63.2 and these errors went away.
The SQL Sensors were going against the recorder database.

Here is the traceback.

    2018-02-18 17:16:25 ERROR (MainThread) [sqlalchemy.pool.NullPool] Exception closing connection 
Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/deps/lib/python3.5/site-packages/sqlalchemy/pool.py", line 703, in _finalize_fairy
    fairy._reset(pool)
  File "/home/homeassistant/.homeassistant/deps/lib/python3.5/site-packages/sqlalchemy/pool.py", line 873, in _reset
    pool._dialect.do_rollback(self)
  File "/home/homeassistant/.homeassistant/deps/lib/python3.5/site-packages/sqlalchemy/engine/default.py", line 457, in do_rollback
    dbapi_connection.rollback()
sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread.The object was created in thread id 1842136176 and this is thread id 1996365840

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/deps/lib/python3.5/site-packages/sqlalchemy/pool.py", line 317, in _close_connection
    self._dialect.do_close(connection)
  File "/home/homeassistant/.homeassistant/deps/lib/python3.5/site-packages/sqlalchemy/engine/default.py", line 463, in do_close
    dbapi_connection.close()