Maitland FC and Hamilton's battle for fourth spot goes down to wire