Revert "Added support for merging dynamic where with sql with existing static where"

This reverts commit d9854a1253a577de64a21fc71acd7ffd7879b30d.