Fix: Improve functionCall and functionReturn inspections to handle the nil values correctly.

this will fix the issue #520