Fix SQL Bug
Update definition of "active" - must have more than two activities