This fixes scenarios when the data has falsy values like 0,false etc. Earlier it would just skip this value.