Fixes state to purchase relationship