return false in val method to consider only first matched element
Merge pull request #65 from evangun/valFix

Fixed val method to consider only first matched element