Ray’s preoccupation with Dwight gets him in trouble back at the writers’ room, while James takes on his first open house and gets an unlikely new real estate client. Meanwhile, Gary gets some action on his dating app.