Fixed pending changes table messing up when some changes were by users with low permissions.