All epochs rejected by SSP ECG projectors

Hello MNE users,

I was working on a combined HD-EEG/MEG files and wanted to remove artifacts produced by heartbeat and eye blinks for my analysis. However, when I tried computing SSP projectors for ECG, all my epochs were rejected based on EEG and no good epochs remained. Why is that so?

ecg_projs, ecg_events = mne.preprocessing.compute_proj_ecg(raw, n_grad=1, n_mag=1, n_eeg=0,
                                                           average=True)

I used the above code to compute SSP ECG projectors. How can I prevent SSP from rejecting all my epochs based on EEG sensors ?