Added support for where clauses based on Enum

Added support for where clauses on enum, since we need to filter on the integer value and actually builder send the string representation.