getDifference method is working correctly
Nested conditional is working correctly