Filter out unexisting pockets.