Changed getAllOptions() to allow "0"