Add extra check to make sure array indexes exist
Add extra check to make sure array indexes exist

pribeiro42/SuiteCRM,pgorod/SuiteCRM,samus-aran/SuiteCRM,ChangezKhan/SuiteCRM,willrennie/SuiteCRM,cumanacr/SuiteCRM,noelhunter/SuiteCRM,MikeyJC/SuiteCRM,willrennie/SuiteCRM,salesagility/SuiteCRM,gody01/SuiteCRM,JimMackin/SuiteCRM,JanSiero/SuiteCRM,salesagility/SuiteCRM,pribeiro42/SuiteCRM,daniel-samson/SuiteCRM,Dillon-Brown/SuiteCRM,ChangezKhan/SuiteCRM,daniel-samson/SuiteCRM,gcoop-libre/SuiteCRM,JimMackin/SuiteCRM,horus68/SuiteCRM-Horus68,lionixevolve/LionixCRM,gcoop-libre/SuiteCRM,daniel-samson/SuiteCRM,pgorod/SuiteCRM,lionixevolve/LionixCRM,cumanacr/SuiteCRM,lionixevolve/LionixCRM,pribeiro42/SuiteCRM,gody01/SuiteCRM,lionixevolve/SuiteCRM,willrennie/SuiteCRM,MikeyJC/SuiteCRM,Dillon-Brown/SuiteCRM,ChangezKhan/SuiteCRM,salesagility-davidthomson/SuiteCRM,daniel-samson/SuiteCRM,salesagility-davidthomson/SuiteCRM,samus-aran/SuiteCRM,horus68/SuiteCRM-Horus68,noelhunter/SuiteCRM,JanSiero/SuiteCRM,gcoop-libre/SuiteCRM,ChangezKhan/SuiteCRM,MikeyJC/SuiteCRM,lionixevolve/SuiteCRM,salesagility/SuiteCRM,horus68/SuiteCRM-Horus68,JanSiero/SuiteCRM,lionixevolve/LionixCRM,pribeiro42/SuiteCRM,lionixevolve/SuiteCRM,Dillon-Brown/SuiteCRM,noelhunter/SuiteCRM,horus68/SuiteCRM-Horus68,willrennie/SuiteCRM,lionixevolve/SuiteCRM,JimMackin/SuiteCRM,samus-aran/SuiteCRM,salesagility-davidthomson/SuiteCRM,dfstrauss/SuiteCRM,noelhunter/SuiteCRM,dfstrauss/SuiteCRM,MikeyJC/SuiteCRM,Dillon-Brown/SuiteCRM,cumanacr/SuiteCRM,gody01/SuiteCRM,pgorod/SuiteCRM,pgorod/SuiteCRM,salesagility-davidthomson/SuiteCRM,dfstrauss/SuiteCRM,lionixevolve/LionixCRM,gcoop-libre/SuiteCRM,JimMackin/SuiteCRM,gody01/SuiteCRM,lionixevolve/LionixCRM,samus-aran/SuiteCRM,salesagility/SuiteCRM,cumanacr/SuiteCRM,dfstrauss/SuiteCRM,JanSiero/SuiteCRM