Guard against :tag key not being present

The helper would fail on the :tag key being absent