Added scope :active using lambda