the If condition is behaving weird for my Shiny app

Hi All

Background for my app i have 5 input variables and i am using if condition to get the table output for now.

But somehow few of my if condition is not picking any data. I am sharing the github link for the complete code and the data used.

Link - https://github.com/JK1185/MyShinyDashboard

Please help or any suggestion.