FluctSDK SQL fix