Just find any place and say you’re staying for longer, then give them the 28 days notice.
Minimum term contracts are illegal in Scotland so just find any place that seems nice and fits your criteria, don’t mention you’re moving away in December and your problem is solved :)