Fix two potential tracebacks on /set completion