Fixed bug where related cards stayed collapsed