Check if option value data is empty

If option value data is empty then not add empty array to options.