Fixed empty check for options in cpt-ui