More length checking in the compose activity.