Prevent null pointer exception when searching episodes