Fixed silly editor SQL fail