Fixing issue where markup was attempted to be calculated with prints