Minor change

Added comment and added a condition to limit recursive call.