This fixes the possibility of referencing a NULL pointer if the reservation doesn't exist anymore when testing. Coverity CID 178898