Update availability_validator.rb