SONAR-4776 Fix Null Pointer Exception when past change is not found