Fix Hash::remove() removing data even if the path is not matched
Merge pull request #4704 from HavokInspiration/hash-remove-fix

Fix Hash::remove() removing data even if the path is not matched