Some fixes for getting gists by ID