compactor ram motor doesn't stop at top of travel

There are two side by side micro-switches at top of compactor. Which one might night be working to stop motor at end of travel up? I think I read one stops travel and one resets for oposite direction of travel