How to ignore collision between moving objects?

Hello,
I’m trying to have the two moving boxes bounce only against fixed ones, not between each other, but it’s not working as intended: https://jsfiddle.net/wp1ocr3x/4/.

Anyone know how can I achieve this?