Fix for issue related to https://webarchive.jira.com/browse/ARI-3637