Updated MainController logic to keep the selected card listed, even when the filtering criteria does no longer match the selected card itself.