Narrowed problem down to RecordNotUnique being erroneously raised.