Fixed data inconsistency problem in collection membership table