Cleaned up categorize reviews code