changed parentEvent in Sample to nullable. Please make sure that any code that depends on the assertion that Sample always has a parentEvent is changed accordingly! In this commit done for getSamples in RestController?.