LPS-37508

Because of this change, please re-verify if this fix is still needed.
https://github.com/liferay/liferay-portal/commit/49cbbd9828285d0fdbd7f8a856f774b1f9c304ac