Fixed issue that occured when group is empty (survival plot)

2 jobs for beta in 5 minutes and 51 seconds