fixing unique constraints for retweet entity, some score tweeaks as well