Fixed range bug in JQuery validate