Changed prepare_conditionals_for_conditions_proc_zero to perform queries in-memory with SQLite and sqldf