Fixes broken selects when there is no content

@addepar-andy @liuyang-li