Previously this caused an assertion failure in +Asserts builds and incorrect behavior in -Asserts builds. rdar://problem/37242238