Added spec and implemented a fix for issue #27. The issue stemmed from how tags were being identified. Updating the regex in constants.rb resolved the issue.