Make maximising work properly again in Potlatch