Fix the crash for map pruning when the column value is not a constant.
Merge pull request #331 from rxin/mapprune

Fix the crash for map pruning when the column value is not a constant.