Bug fix, $this->_constraints alway an array, just check if is not empty