renderLocationSelectTree: fix strict standards violation (#1065)