Fixed replacement of static expressions in parameter block when they
haven't been initialised yet.