Check if there are samples before processing them
Merge pull request #68 from guillermo-carrasco/master

HOTFIX: Check if there are samples before processing them