Fixed a segfault in the Handler

If you were to refer to a non existing variable it would still essentially
execute nullptr->cacheable(), which obviously ended as a segfault.