Fixed a bug with the Snippet model