Removing name check from listCheck. Id can't be empty to be sure.
Added proper id check.