Strip empty options

Added an option to strip empty select <options>