Bug Fix for Compatibility, and a Sql project tweak