patches partial bug in {{each}} block