Fixes for no where claus on update and other quote problems.