Fixed a bug. Uniqueness is now also at DB level