Fixing the selected row issue due to pagination See merge request theappsmith/internal-tools-client!257