Fixes a bug with project synchronization

Looking for projects using the intervention_id were failing because we
needed to cast the id to string.