Fixed user approval database operation in production setup script