Handle nil pointers in responses