Fix inverted logic. Prevent MD button from being herky-jerky.