Fixed another stupid mistake. Enough dev for today, clearly not concentrating.