Fixed a dual id bug that prevented filtering