Added status filtering.