Minor change to casing in order to get correct condition for checking null on attributes