Added validation in commits to avoid loops. Commits' views improved.