Fixed code to deal with null cache strings