Fix setting block specs for variable/list getters
Merge pull request #451 from LLK/fix-set-spec

Fix setting block specs for variable/list getters