Fix IN replacement in virtual fields for MYSQL.
doc block update.
Simplify test
Correct test
Merge pull request #5021 from dereuromark/master-mysql

Fix IN replacement in virtual fields for MYSQL.