Restrict the length of the location field