Not providing null value when radio/checkbox is not checked + added some comments