Fixing the issue where state store is registered for each input binding when multiple input bindings are present. Resolves #785