Fixed issue with empty html options