Properly detect packet loss within a frame