Added checking active and commentAble