Patch 1

Bug fix for min.as functionality.