Fixed small bug where undefined arguments are passed as empty string instead of NULL