Adding public false if slug is false