Now checks DB for unique measurements