fixed lua bug that caused e.g. `hop java` to sometimes hop to javascript even if java was a key