Fix #851

Fix for https://snowy-evening.com/issues/details/479/851/
Need to join while delete :)
Only need left join
Merge pull request #66 from Xephi/master

Adding prism_data_extra join for purges, bug 851:resolved