bind-plugin: fix zones iteratation upper limit

Seems like it was created due to the copy-paste. Similar loop and check is in the `bind_xml_stats_handle_view`