SHRINKRES-119

This fixes issue SHRINKRES-119