The indexing looks wrong:
[filter_index*36:36]

This will copy everything from filter_index*36 to the fixed index 36.
Could you try to use [filter_index*36:(filter_index+1)*36] instead and compare the layers afterwards?