Fix bug in get source filter