Fix RandomBlockFunction. Again. Fixes #162.

Sorry @Wickth and @LanToaster. :pensive: