Fixed code to ensure required impressions are always set. #319