ComponentSwapper: add one more case in method
ComponentSwapper: add one more case in method

A cycle might happen when we look for a path. This case should have been mentioned in an article, but it was not.

pawelkopec/Scheduling