Fixed Error where set was returning Undefined Offset when no value was given