Fixed enemy search bug