Fixed an issue in which userpoints cache was not updated properly

This only applies when deleting a user.