Revert "Do not check the shared_schema for equality comparison but rather the root schema. Resolves #14"

This reverts commit 851cf994d3138a0544fc9dbcbf029787885f6e42.