Allow collection as a valid local var for partials

Fix #206