Fixed a bug in object specific access checks.