Fixed a bug with bloodsample data being saved