add before filter for empty deck study