Fix bug with custom transit validations