The tense ceasefire between Israel and Hamas appeared to be back on track early Sunday after the release of a second group of militant-held hostages and Palestinians from Israeli prisons, but the swap followed an hours-long delay that underscored the truce's fragility.