Have they paid you July to Oct?
As you knew it would terminate in July, I think it was incumbent upon you to contact them to ask about extending it. You can't really argue one way that something is agreed and then argue the other way and say they've not given you notice.