Added extra check to _buildQueryWhere to make sure the state value has a value.
Added extra check to _buildQueryWhere to make sure the state value has a value.

timble/kodekit-platform,timble/kodekit-platform,nooku/nooku-platform,timble/kodekit-platform,nooku/nooku-platform,timble/kodekit-platform,nooku/nooku-platform,timble/kodekit-platform,nooku/nooku-platform,nooku/nooku-platform