It appears that the contingency you have on the home to purchase was contingent upon the sale of your home (not tied to any specific buyer). If your home is still on the market for sale then you are still in compliance even though the offer on your home fell through. Not sure what expired with the purchase of your next property. If you do not want to buy the home you have a contact on you should talk to your agent as soon as possible. If there are no issues, you should be entitled to get your deposit back.
All the best,
I'm not sure what you mean when you say "the contract with the house we made an offer on subsequently ran out".
If the house you made an offer on had a contingency that you would sell your current house and you did NOT remove that contingency IN WRITING, then the contingency is still in effect and you can cancel contract since your current home did not sell. As long as the contingency has not been removed (in writing), you should get your good faith deposit back.
I'm also assuming your agent is trying to sell your current home and is also the listing agent for the home you are under contract to purchase? If that is the case, they know your current house deal fell through. They should also know then that your contingency allows you to cancel contract on the other house. Now, if you know longer want to sell your current house, just let your agent know you want to cancel the listing. You need to communicate with your agent.