Removed null check from commit view as it is already in model