ensure you return the last activated deployment