Hearts have failed to overturn the red card shown to Kevin McHattie during Saturday's victory over Aberdeen.