Validation fixes for twlaw