Fix for no measurements inserted