Fixes #4526: change validation query for the database
Merge pull request #449 from ncharles/arc_4525/dev/4526_chenge_validation_query

Fixes #4526: change validation query for the database