fix: pass id and type parameters as a comma-separated list (and not as a list) when querying entities