Fixed DB issues

Snippet now matches selected destinations