Fixes middleman/middleman/issues/1269