[DF-581] Fix background comparing. Convert tabs to spaces. Trim right spaces.