Fixed an issue with a lambda function in the User model.