set rmnovisits back to False
use ALL_VISITS instead of VISITS if there are no VISITS
version for DR11