Fixed #3431, regression causing error 16 not to be triggered.