I get the following when i try to create a new project in 5.0.0b

Error running count query for Project List: Query Failed SELECT count(*) c FROM meetings LEFT JOIN users jt1 ON jt1.id= meetings.assigned_user_id AND jt1.deleted=0 AND jt1.deleted=0 where ( meetings.parent_id= '4200e4b3-0521-8725-d297-47dda7828d44' AND meetings.parent_type='Project' AND meetings.deleted=0 AND (meetings.status='Planned')) AND meetings.deleted=0 ) UNION ALL ( SELECT count(*) c FROM tasks AND contacts.deleted=0 LEFT JOIN users jt1 ON jt1.id= tasks.assigned_user_id AND jt1.deleted=0 AND jt1.deleted=0 where ( taskscontacts.parent_id= '4200e4b3-0521-8725-d297-47dda7828d44' AND taskscontacts.parent_type='Project' AND taskscontacts.deleted=0 AND (taskscontacts.status='Not Started' OR taskscontacts.status='In Progress' OR taskscontacts.status='Pending Input')) AND tasks.deleted=0 ) UNION ALL ( SELECT count(*) c FROM calls LEFT JOIN users jt1 ON jt1.id= calls.assigned_user_id AND jt1.deleted=0 AND jt1.deleted=0 where ( calls.parent_id= '4200e4b3-0521-8725-d297-47dda7828d44' AND calls.parent_type='Project' AND calls.deleted=0 AND (calls.status='Planned')) AND calls.deleted=0 )::MySQL error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND contacts.deleted=0 LEFT JOIN users jt1 ON jt1.id= tasks.as

I'm using MySQL 5.0

PHP 4.4.7