Fixed minor return values issue.
Fixed: Unable to search using before/after in Date Dynamic Fields (bug#10140).