Fixed a bug where Deferred give wrong arguments to fail handlers