Fixed SQLCommander.isActivityEditable.