Fix tag duplication on law creation. Closes #430.
Fixed function declarations on Issue #430
Merge branch 'fix-db-duplicate-laws' into development