Issue #224 having_id_is undefined variable $value (amend commit a7f20ee1b89123b68d47e9d17e9964c495c183d2)