Fix crashing "grant access to my own object" permission check.