[Code] Fixed bug where object condition was not being set.