Fixed bug 1295: Error when creating an agenda extrafield with a number as reference