Cleanup _find_frame_data().
Fix an odd cast.