Fix empty snippet removal in cb.files.editor

Before this was removing all snippets even non empty ones