Member-restricted rules did not work with postsale script (#580)