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

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