Possible fix for SQL overload