Fixed Exception always being thrown in __set method. Should have been inside a conditional.