Fix for https://issues.infn.it/jira/browse/STOR-504
Merge pull request #4 from italiangrid/fix/STOR-504

Fix for https://issues.infn.it/jira/browse/STOR-504