Workaround for https://issues.infn.it/jira/browse/STOR-305