Null check for input row implemented