There is a case in iOS8, where we get NSAutoresizingMaskLayoutConstraint...

...s, if we have an auto layout cell that uses a custom view using springs and struts.  This crashes the app when we try to re-add the constraint to the custom view, because the NSAutoresizingMaskLayoutConstraints first or second item are nil.  So an additional check to see if the first and second items are nil is performed.