Fixed missing '$this' in PendingAccess entity - potentially related to #224?