#fixes 3579

I haven't tested the problem but it was a bad idea anyways to have start and end have the same referenceObject.