fix activerel query, :any support, specs