Adds slice function for public recipes, isPrivate not working