Trying to fix metabox showing all positions issue https://github.com/Smartik89/Wordpress-Sidebar-Generator/issues/10

I tried to fix this issue. Could you please review it?