Corrected bug in srid selection by level