Kohana syntax error fix

Fixed Kohana undefined constraint syntax error when upgrading [#1330]