Added suggestion key length checking.