Gradient bug fix. Added support for handling of multiple requests per node.