Cards in a list spaced unequally

I have a list of cards in my app. Everything works fine, except that cards spaced unequally:

Does anybody know why is it happening and how to fix it?

Thanks.