[FOLD] Fix active check for periodic activity