Use equals method to compare bundles instead of operator ==