Fixed snippet enabling behavior

See #15