Fixes #3154
Merge pull request #3159 from Zuhayr/master

AIize() runtime fix.