Fix search_by_module REST API
Fix search_by_module REST API

- Remove SugarCRM Pro code preventing search for Project tasks
- Remove duplicate code

Dillon-Brown/SuiteCRM,horus68/SuiteCRM-Horus68,lionixevolve/SuiteCRM,ChangezKhan/SuiteCRM,gody01/SuiteCRM,JanSiero/SuiteCRM,samus-aran/SuiteCRM,MikeyJC/SuiteCRM,lionixevolve/LionixCRM,lionixevolve/SuiteCRM,JanSiero/SuiteCRM,gody01/SuiteCRM,gody01/SuiteCRM,pribeiro42/SuiteCRM,samus-aran/SuiteCRM,lionixevolve/SuiteCRM,JimMackin/SuiteCRM,MikeyJC/SuiteCRM,pribeiro42/SuiteCRM,horus68/SuiteCRM-Horus68,Dillon-Brown/SuiteCRM,MikeyJC/SuiteCRM,pribeiro42/SuiteCRM,pribeiro42/SuiteCRM,salesagility/SuiteCRM,salesagility/SuiteCRM,JimMackin/SuiteCRM,Dillon-Brown/SuiteCRM,JimMackin/SuiteCRM,lionixevolve/LionixCRM,lionixevolve/LionixCRM,lionixevolve/LionixCRM,lionixevolve/LionixCRM,gody01/SuiteCRM,horus68/SuiteCRM-Horus68,ChangezKhan/SuiteCRM,salesagility/SuiteCRM,horus68/SuiteCRM-Horus68,JanSiero/SuiteCRM,ChangezKhan/SuiteCRM,MikeyJC/SuiteCRM,lionixevolve/SuiteCRM,lionixevolve/LionixCRM,salesagility/SuiteCRM,ChangezKhan/SuiteCRM,samus-aran/SuiteCRM,Dillon-Brown/SuiteCRM,JimMackin/SuiteCRM,JanSiero/SuiteCRM,samus-aran/SuiteCRM