Fixed derp on my part. Now properly sees if the container is empty.