Fixes broken selects when there is no content