fix delete if study status is null and will be updated to deleted
Reviewer: Chezka Arevalo