Fix diagonal and reverse diagonal logic