Fix Firebase.onError wrapping.