- Added list check to compare method.