Check for empty Shark data to avoid AssertionErrors