WSSQL-25 Do not deref Null pointer from cache miss

Signed-off-by: rpastrana <rodrigo.pastrana@lexisnexis.com>