Fixed issue with not being able to use empty() on ->template->my_var because __isset() wasn't being used