Obey `validate: false` option for habtm

Fixes #14383.