Fixes php warnings if referenced user no longer exists