do you have a second 1099-R? Any 1099-R form WITHOUT the check mark next to Box 7 should sum to Line 5b. Any 1099-R form WITH a check mark next to Box 7 should sum to Line 4b.
I suspect you have multiple 1099-R forms. Or you entered a 1099-R phantom form that should be not entered,