Changes made DB's validate method.