Fixed a problem with the slab dust model.