Fixed called to isOccupied() method in Emerge template.