Cleaned up select2 insertion and added scope variable for filter predicates