Server query in inventory fixed for previous commits