Check for NULL before running a strstr command. TRQ-1708