multiple table delete worked for mysql but not postgresql. Single table deletion is the seeming standard so going to remove the multiple table code. A work around with joins would be to use a subselect as a conditional.