Fix issue with multiple checkboxes

Seems all is ok now. I modified regex a little.