Close auto magic complete when prefix is empty

While removing text