Quick fix for handling the situation when there is no sample.