Check if the collection exists before trying to enable.disable
Fixed missed bug in apiGetStatus