Remove redundant checks for invalid frames.

These cases are now handled by the lookup table.