Fix for: https://opencart.atlassian.net/browse/OC-1878