[Fixed] equals method for metadata