[api] fix release target filtering on project wide release call