I'd use $count instead of $cnt. Nice bug by the way. :+1: