Fixes on new extension for where sql strings