Fixed bug when variable is null throwing undefined error

Fixes #23 - when an argument is null, it was originally throwing an undefined error due to the isset check. It is now returning the original null value.