Fix: Improve functionCall and functionReturn inspections to handle the nil values correctly. (fixes #520)

this will fix the issue #520