Solve speed problem for empty select elements