Fixing mistaken CodeEditor check