Prevent creation of cycles