Fix tablets not marking secondaryFragment correctly