changed logic of filtration by customers pid and tickets date