This fixes the issue of the integration tests sometimes failing because channels have not yet been linked causing item state to remain null. Signed-off-by: Wouter Born <github@maindrain.net>