Treat nil as false in trapGuard:contents: