Fixed bug with drop when getting collection name