Fixed bug in built-in jquery validate methods