Docker registry and our image-proxy service working again properly.
- Fixing some SQL queries and result values.