Fixes regression caused by 3912066fe1134ba665770723a24c8ea9b4f1aea3 change