Fixed error with isAvailable

In tool searching