Issue #224 having_id_is undefined variable $value

as commented on a7f20ee1b89123b68d47e9d17e9964c495c183d2, I would think that "where()" is more correct than "having()".

If you agree, I believe a pull-request is less work for you.