Better instances filtering.