bug fixes in biom sub-select