Fixed minor return values issue.
Fixed: Unable to search using before/after in Date Dynamic Fields (bug#10140).
Merge remote-tracking branch 'upstream/master'