Array modifier changing second array modifier
It would be helpful if you included your modifier-settings in the screenshot. It is difficult to locate the error without that information. 

Anyway I created a setup like you want with two array modifiers. 
You can see the settings in this screenshot.