Corrected case where ReleaseId might be null