Fixed a bug for cases where the keys are in the setand where clause
Fixed a bug for cases where the keys are in the setand where clause

As pointed out on the forum by webbpinner http://simplemvcframework.com/forum/viewtopic.php?f=1&t=2491
tonyle/tonyframework,pacozaa/framework,enjoy2000/framework,nova-framework/framework,LuckyCyborg/simple-mvc-framework,volter9/framework-1,capps1994/framework,geomorillo/framework,mxloco/framework,nekomajin/framework,danvers/enrollment-tool,tonyle/tonyframework,mxloco/framework,enjoy2000/framework,LuckyCyborg/simple-mvc-framework,ahmedyassinamr/framework,lcscgit/framework,LuckyCyborg/simple-mvc-framework,OmarElGabry/framework,lcscgit/framework,simple-mvc-framework/framework,LuckyCyborg/framework,LuckyCyborg/simple-mvc-framework,tomvlk/php-framework,XTRO123/framework,XTRO123/framework,volter9/framework-1,OmarElGabry/framework,tonyle/tonyframework,tomvlk/php-framework,LuckyCyborg/framework,danvers/enrollment-tool,ahmedyassinamr/framework,ennerperez/simple-mvc-framework,geomorillo/framework,geomorillo/framework,danvers/enrollment-tool,nova-framework/framework,ennerperez/simple-mvc-framework,nekomajin/framework,capps1994/framework,XTRO123/framework,simple-mvc-framework/framework,pacozaa/framework