Fix issue with the conversion to SQL for new install
