Correctly check if plots are build protected (closes #45)