These updates make it compatible with the switch to reading Tile sampling fractions from the database.
Tagging @tlari, @pavol, @solodkov, @harkusha for info.