Check for selectedKey NULL instead of "false:ish"