Fix the bounds checking on included styles only to check for inclusion actually defined styles, not to include random styles based on uninitialized array indices.
Fix the bounds checking on included styles only to check for inclusion actually defined styles, not to include random styles based on uninitialized array indices.