Fixed issue with wait on uninitialized Event.
Allow index and slice operations in Constraints.