Fixed bug with multiple validators.
Added test for fix