Fixed a bug where I had || for comparing status codes instead of &&