Fix for table formatting

Two issues- missing CSS classes and was performing string comparison.

Added cast to int on comparison- might cause issues if we try to compare anything else, but restoring current functionality. Added CSS classes with !important as the zebra tables CSS was taking precedence.